import asyncio
async def shazmit(input_file):
    process = await asyncio.create_subprocess_shell(f'pyzam --input {input_file}', stdout=asyncio.subprocess.PIPE, stderr=None)
    output= await process.communicate()
    output = output[0].decode()
    lll = list(output.split(':'))
    name = lll[1].split('\n')[0].strip()
    artist = lll[2].split('\n')[0].strip()
    uri = f'{lll[3]}:{lll[4]}'
    uri = uri.strip()
    result_list = [uri, name, artist]
    return result_list
    


